<template><div></div></template>
<script lang="js">
    declare<error descr="Newline or semicolon expected"> </error>var React;
    export let a:<error descr="Types are not supported by current JavaScript version">string</error> = 1;

    function test() {
       return <div>Hello</div>
    }
</script>